package com.example.demo.service;

import com.example.demo.model.TextDocument;

import java.util.List;

public interface TextDocumentService {
    List<TextDocument> getAllDocuments();
    List<TextDocument> getFeaturedDocuments();
    TextDocument getDocumentById(Long id);
    TextDocument saveDocument(TextDocument document);
    void deleteDocument(Long id);
    void toggleFeatured(Long id);
} 